package home.contaduria.service;

import home.contaduria.domain.Client;
import home.contaduria.domain.Expense;

import java.util.List;

public interface ExpenseService {

	void createExpense(Expense expense);

    Expense readExpense(Long id);

    List<Expense> listExpenses(Client client);

    List<Expense> listExpenses(Client client, int firstResult, int maxResults);

    Long countExpensesNumber(Client client);

    void updateExpense(Expense expense);

    void deleteExpense(Long id);
}
